Skip to content

Conversation

@elezar
Copy link
Member

@elezar elezar commented Dec 3, 2025

This change allows device IDs to be specified when generating CDI specs using
the nvidia-ctk cdi generate CDI. The command now accepts a (repeatable) CLI
flag allowing device IDs to be specified. These can be indices or uuids.

@coveralls
Copy link

coveralls commented Dec 3, 2025

Pull Request Test Coverage Report for Build 20027584165

Details

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.02%) to 37.69%

Totals Coverage Status
Change from base Build 20027319413: 0.02%
Covered Lines: 5185
Relevant Lines: 13757

💛 - Coveralls

This change allows device IDs to be specified when generating CDI specs using
the nvidia-ctk cdi generate CDI. The command now accepts a (repeatable) CLI
flag allowing device IDs to be specified. These can be indices or uuids.

The devices IDs can also be specified as a comma-separated list using the
NVIDIA_CTK_CDI_GENERATE_DEVICE_IDS environment variable.

Signed-off-by: Evan Lezar <elezar@nvidia.com>
@elezar elezar force-pushed the allow-device-ids-on-cdi-generate branch from 959ee36 to 311e549 Compare December 8, 2025 12:08
@elezar elezar requested review from jgehrcke and klueska December 8, 2025 12:09
@elezar elezar self-assigned this Dec 8, 2025
@elezar elezar requested a review from cdesiniotis December 8, 2025 12:09
@elezar elezar merged commit 6f7e8b0 into NVIDIA:main Dec 8, 2025
16 checks passed
@elezar elezar deleted the allow-device-ids-on-cdi-generate branch December 8, 2025 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants